<template>
  <div class="about">
  <van-cell title="我的订单" is-link to="/order" />
  <van-cell title="修改密码" is-link  />
  <van-cell title="地址管理" is-link to="/address" />
  <van-cell title="提交反馈" is-link />
  <van-cell title="关于青恋" is-link />
  <van-button  size="large" @click="logout"  round type="primary">退出登录</van-button>

  </div>
</template>
<script>
export default {
  methods:{
    logout(){
      this.$store.commit('logout')
      this.$router.replace("/login")
      localStorage.removeItem('addresslocal')
    }
  }
}
</script>
